import java.util.Scanner;
public class Test2 {
    public static void main(String[] args) {
        System.out.println("成绩：");
        Scanner scanner = new Scanner(System.in);
        int input = scanner.nextInt();
        if (input>=60){
            System.out.println("合格");
        }
        if (input<60){
            System.out.println("不合格");
        }
    }
}
